<ion-view view-title="提前还款">
	
	<ion-content style="background-color: #f5f5f5;padding-top:10px;">

			<div class="list" style="margin-bottom: 0px;">
				<label class="item item-input">
	  				<span class="input-label">借款金额</span>
	  				<span>{{data.loanMoney | number:2}}</span>
	  			</label>
	  			
				<label class="item item-input">
	  				<span class="input-label">已还本息</span>
	  				<span>{{data.alreadyPayBackMoney | number:2}}</span>
	  			</label>
	  			
	  			<label class="item item-input">
	  				<span class="input-label">提前还款金额</span>
	  				<span>{{data.advancePayBack | number:2}}</span>
	  			</label>
	  			
	  			<label class="item item-input">
	  				<span class="input-label">节省</span>
	  				<span>{{data.saveMoney | number:2}}</span>
	  			</label>
	  			
	  			<label class="item item-input">
	  				<span class="input-label">帐户余额</span>
	  				<span>{{balance | number:2}}</span>
	  			</label>
	  			
			</div>

			<div ng-if="balance>=data.advancePayBack" style="margin-right: 17px;margin-left: 17px;clear: left;">
	    		<button class="button button-full button-positive" ng-click="payBack()" style="border-radius: 3px;">提前还款</button>
	   	 	</div>
	   	 	<div ng-if="balance<data.advancePayBack" style="margin-right: 17px;margin-left: 17px;clear: left;">
	    		<button class="button button-full button-positive" ng-click="goRecharge()" style="border-radius: 3px;">去充值</button>
	   	 	</div>

	</ion-content>
</ion-view>